package com.jader.beans;

import java.io.Serializable;

public class PriceBens implements Serializable {

	private static final long serialVersionUID = 1L;
	int priceid;
	String pricePath;
	long tieziId;

	public PriceBens() {
		super();
	}

	public PriceBens(int priceid, String pricePath, long tieziId) {
		super();
		this.priceid = priceid;
		this.pricePath = pricePath;
		this.tieziId = tieziId;
	}

	public PriceBens(String pricePath, long tieziId) {
		super();
		this.pricePath = pricePath;
		this.tieziId = tieziId;
	}

	public int getPriceid() {
		return priceid;
	}

	public void setPriceid(int priceid) {
		this.priceid = priceid;
	}

	public String getPricePath() {
		return pricePath;
	}

	public void setPricePath(String pricePath) {
		this.pricePath = pricePath;
	}

	public long getTieziId() {
		return tieziId;
	}

	public void setTieziId(long tieziId) {
		this.tieziId = tieziId;
	}

	@Override
	public String toString() {
		return "PriceBens [priceid=" + priceid + ", pricePath=" + pricePath
				+ ", tieziId=" + tieziId + "]";
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + priceid;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PriceBens other = (PriceBens) obj;
		if (priceid != other.priceid)
			return false;
		return true;
	}

}
